Set Invoke-ScriptAnalyzer Path default value#1889
Set Invoke-ScriptAnalyzer Path default value#1889ThomasNieto wants to merge 2 commits intoPowerShell:mainfrom
Conversation
|
Nice idea but you'd need to fix existing tests |
|
I'm not sure why the tests are failing with change as the tests would be using a provided path and not a default. |
|
I will try look into it another time and see whether I can do something about it, definitely before next release, sorry it's taken so long |
|
@ThomasNieto This seems like a good idea to me 🙂 @bergmeister, This fails many of the tests as the path now always has some value. If You should probably make a change to the You will also need to update the markdown help file for Or you'll get a test failure from Hope that helps 😀! |
PR Summary
Removes
Pathas a mandatory parameter and sets the default to the current working directory.Resolves #1887
PR Checklist
.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.